﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SilverlightApplication4.Util
{
    public class SearchPanel:ChildWindow
    {
        public SearchPanel()
            : base()
        {
            //((FrameworkElement)this).Width = 500;
            //this.Height = 300;
            //this.Visibility = System.Windows.Visibility.Collapsed;

            //Border bd = new Border();
            //bd.BorderThickness = new Thickness(5);
            //bd.BorderThickness = new Thickness(2);
            //bd.Width = this.Width;
            //bd.Height = this.Height;
            //this. .Add(bd);

            //StackPanel pnHeader = new StackPanel();
            //pnHeader.Width = this.Width;
            //pnHeader.Height = 50;
            //this.Children.Add(pnHeader);

            //StackPanel pnContent = new StackPanel();
            //pnContent.Width = this.Width;
            //pnContent.Height = this.Height - pnHeader.Height;
            //this.Children.Add(pnContent);

            //Button btnSearch = new Button();
            //btnSearch.Content = "Search";
            //btnSearch.Width = 50;
            //btnSearch.Height = pnHeader.Height;

            //TextBox txbSearch = new TextBox();
            //txbSearch.Text = String.Empty;
            //txbSearch.Height = pnHeader.Height;
            //txbSearch.Width = pnHeader.Width - btnSearch.Width;

            //pnHeader.Children.Add(txbSearch);
            //pnHeader.Children.Add(btnSearch);
        }
    }
}
